<?php

namespace app\api\validate;


use app\common\validate\BaseValidate;


/**
 * 邮箱验证
 * Class SendEmailValidate
 * @package app\api\validate
 */
class SendEmailValidate extends BaseValidate
{

    protected $rule = [
        'email' => 'require|email',
        'scene' => 'require',
    ];

    protected $message = [
        'email.require' => '请输入邮箱',
        'email.email' => '邮箱格式不正确',
        'scene.require' => '请输入场景值',
    ];
}